import { createApp } from 'vue'
import App from './App.vue'
import 'element-plus/packages/theme-chalk/src/base.scss'
import { components } from './plugins/element-plus'
import { router } from './plugins/router'
import { store } from './plugins/store'
import bus from './plugins/bus'

const app = createApp(App)

components.map(item => app.use(item)); app.use(router); app.use(store)
app.config.globalProperties.$bus = bus

app.mount('#app')
